<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aether.Physics2D: TextureConverter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NugetLogo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aether.Physics2D
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TextureConverter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab14176b4bcd252a5346b4e05df8d2ed1"><td class="memItemLeft" align="right" valign="top"><a id="ab14176b4bcd252a5346b4e05df8d2ed1"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TextureConverter</b> (byte? alphaTolerance, float? hullTolerance, bool? holeDetection, bool? multipartDetection, bool? pixelOffsetOptimization, Matrix? transform)</td></tr>
<tr class="separator:ab14176b4bcd252a5346b4e05df8d2ed1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab8401bb452e6ed0e686367efa1f6779"><td class="memItemLeft" align="right" valign="top"><a id="aab8401bb452e6ed0e686367efa1f6779"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TextureConverter</b> (uint[] data, int width)</td></tr>
<tr class="separator:aab8401bb452e6ed0e686367efa1f6779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93792633e8f1633e7a692a0b27ce2a1b"><td class="memItemLeft" align="right" valign="top"><a id="a93792633e8f1633e7a692a0b27ce2a1b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TextureConverter</b> (uint[] data, int width, byte? alphaTolerance, float? hullTolerance, bool? holeDetection, bool? multipartDetection, bool? pixelOffsetOptimization, Matrix? transform)</td></tr>
<tr class="separator:a93792633e8f1633e7a692a0b27ce2a1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8dca6ef911c4064b73e8ebe0fb1b7f8"><td class="memItemLeft" align="right" valign="top"><a id="ae8dca6ef911c4064b73e8ebe0fb1b7f8"></a>
List&lt; <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>DetectVertices</b> ()</td></tr>
<tr class="separator:ae8dca6ef911c4064b73e8ebe0fb1b7f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a393321e1b9ea801a3737d5a420056844"><td class="memItemLeft" align="right" valign="top"><a id="a393321e1b9ea801a3737d5a420056844"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsSolid</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> v)</td></tr>
<tr class="separator:a393321e1b9ea801a3737d5a420056844"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab846930f4ec131b4ab985f437357e5a5"><td class="memItemLeft" align="right" valign="top"><a id="ab846930f4ec131b4ab985f437357e5a5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsSolid</b> (ref int x, ref int y)</td></tr>
<tr class="separator:ab846930f4ec131b4ab985f437357e5a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a446af2f01c5554a33fe99b819b42ee56"><td class="memItemLeft" align="right" valign="top"><a id="a446af2f01c5554a33fe99b819b42ee56"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsSolid</b> (ref int index)</td></tr>
<tr class="separator:a446af2f01c5554a33fe99b819b42ee56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd27454f7962c11215f8eea492e2ac25"><td class="memItemLeft" align="right" valign="top"><a id="abd27454f7962c11215f8eea492e2ac25"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>InBounds</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> coord)</td></tr>
<tr class="separator:abd27454f7962c11215f8eea492e2ac25"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:acad690e9cb3f237960330eb000741f50"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#acad690e9cb3f237960330eb000741f50">DetectVertices</a> (uint[] data, int width)</td></tr>
<tr class="memdesc:acad690e9cb3f237960330eb000741f50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detects the vertices of the supplied texture data. (PolygonDetectionType.Integrated)  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#acad690e9cb3f237960330eb000741f50">More...</a><br /></td></tr>
<tr class="separator:acad690e9cb3f237960330eb000741f50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1022727824d1cc3e2bfe4febc6fc7259"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a1022727824d1cc3e2bfe4febc6fc7259">DetectVertices</a> (uint[] data, int width, bool holeDetection)</td></tr>
<tr class="memdesc:a1022727824d1cc3e2bfe4febc6fc7259"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detects the vertices of the supplied texture data.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a1022727824d1cc3e2bfe4febc6fc7259">More...</a><br /></td></tr>
<tr class="separator:a1022727824d1cc3e2bfe4febc6fc7259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64b238606ccd433635bd78938d6922e5"><td class="memItemLeft" align="right" valign="top">static List&lt; <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a64b238606ccd433635bd78938d6922e5">DetectVertices</a> (uint[] data, int width, float hullTolerance, byte alphaTolerance, bool multiPartDetection, bool holeDetection)</td></tr>
<tr class="memdesc:a64b238606ccd433635bd78938d6922e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detects the vertices of the supplied texture data.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a64b238606ccd433635bd78938d6922e5">More...</a><br /></td></tr>
<tr class="separator:a64b238606ccd433635bd78938d6922e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a102ba4699aa82bcba7d9b81bd00e6576"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools.html#a02718b40fa95f524ad54c378c618e373">VerticesDetectionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a102ba4699aa82bcba7d9b81bd00e6576">PolygonDetectionType</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a102ba4699aa82bcba7d9b81bd00e6576"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get or set the polygon detection type.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a102ba4699aa82bcba7d9b81bd00e6576">More...</a><br /></td></tr>
<tr class="separator:a102ba4699aa82bcba7d9b81bd00e6576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a991473651803a71b5423a97fdc7ce37d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a991473651803a71b5423a97fdc7ce37d">HoleDetection</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a991473651803a71b5423a97fdc7ce37d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will detect texture 'holes' if set to true. Slows down the detection. Default is false.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a991473651803a71b5423a97fdc7ce37d">More...</a><br /></td></tr>
<tr class="separator:a991473651803a71b5423a97fdc7ce37d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71265f239a35282917bf0bc66c9dd6ea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a71265f239a35282917bf0bc66c9dd6ea">MultipartDetection</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a71265f239a35282917bf0bc66c9dd6ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will detect texture multiple 'solid' isles if set to true. Slows down the detection. Default is false.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a71265f239a35282917bf0bc66c9dd6ea">More...</a><br /></td></tr>
<tr class="separator:a71265f239a35282917bf0bc66c9dd6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc09a6bcfbe406c54773173b113e0635"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#afc09a6bcfbe406c54773173b113e0635">PixelOffsetOptimization</a><code> [get, set]</code></td></tr>
<tr class="memdesc:afc09a6bcfbe406c54773173b113e0635"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will optimize the vertex positions along the interpolated normal between two edges about a half pixel (post processing). Default is false.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#afc09a6bcfbe406c54773173b113e0635">More...</a><br /></td></tr>
<tr class="separator:afc09a6bcfbe406c54773173b113e0635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedc13f9e97af4c9522b523a104293139"><td class="memItemLeft" align="right" valign="top">Matrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#aedc13f9e97af4c9522b523a104293139">Transform</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aedc13f9e97af4c9522b523a104293139"><td class="mdescLeft">&#160;</td><td class="mdescRight">Can be used for scaling.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#aedc13f9e97af4c9522b523a104293139">More...</a><br /></td></tr>
<tr class="separator:aedc13f9e97af4c9522b523a104293139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a381dbfb7f1703537aed8f37d0063fafd"><td class="memItemLeft" align="right" valign="top">byte&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a381dbfb7f1703537aed8f37d0063fafd">AlphaTolerance</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a381dbfb7f1703537aed8f37d0063fafd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alpha (coverage) tolerance. Default is 20: Every pixel with a coverage value equal or greater to 20 will be counts as solid.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a381dbfb7f1703537aed8f37d0063fafd">More...</a><br /></td></tr>
<tr class="separator:a381dbfb7f1703537aed8f37d0063fafd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9592eb441fb2a34e9590b8b4371c927a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a9592eb441fb2a34e9590b8b4371c927a">HullTolerance</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9592eb441fb2a34e9590b8b4371c927a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default is 1.5f.  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html#a9592eb441fb2a34e9590b8b4371c927a">More...</a><br /></td></tr>
<tr class="separator:a9592eb441fb2a34e9590b8b4371c927a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acad690e9cb3f237960330eb000741f50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acad690e9cb3f237960330eb000741f50">&#9670;&nbsp;</a></span>DetectVertices() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a> DetectVertices </td>
          <td>(</td>
          <td class="paramtype">uint[]&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Detects the vertices of the supplied texture data. (PolygonDetectionType.Integrated) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The texture data.</td></tr>
    <tr><td class="paramname">width</td><td>The texture width.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="a1022727824d1cc3e2bfe4febc6fc7259"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1022727824d1cc3e2bfe4febc6fc7259">&#9670;&nbsp;</a></span>DetectVertices() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a> DetectVertices </td>
          <td>(</td>
          <td class="paramtype">uint[]&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>holeDetection</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Detects the vertices of the supplied texture data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The texture data.</td></tr>
    <tr><td class="paramname">width</td><td>The texture width.</td></tr>
    <tr><td class="paramname">holeDetection</td><td>if set to <code>true</code> it will perform hole detection.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="a64b238606ccd433635bd78938d6922e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64b238606ccd433635bd78938d6922e5">&#9670;&nbsp;</a></span>DetectVertices() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt;<a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a>&gt; DetectVertices </td>
          <td>(</td>
          <td class="paramtype">uint[]&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>hullTolerance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte&#160;</td>
          <td class="paramname"><em>alphaTolerance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>multiPartDetection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>holeDetection</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Detects the vertices of the supplied texture data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>The texture data.</td></tr>
    <tr><td class="paramname">width</td><td>The texture width.</td></tr>
    <tr><td class="paramname">holeDetection</td><td>if set to <code>true</code> it will perform hole detection.</td></tr>
    <tr><td class="paramname">hullTolerance</td><td>The hull tolerance.</td></tr>
    <tr><td class="paramname">alphaTolerance</td><td>The alpha tolerance.</td></tr>
    <tr><td class="paramname">multiPartDetection</td><td>if set to <code>true</code> it will perform multi part detection.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a381dbfb7f1703537aed8f37d0063fafd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a381dbfb7f1703537aed8f37d0063fafd">&#9670;&nbsp;</a></span>AlphaTolerance</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">byte AlphaTolerance</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Alpha (coverage) tolerance. Default is 20: Every pixel with a coverage value equal or greater to 20 will be counts as solid. </p>

</div>
</div>
<a id="a991473651803a71b5423a97fdc7ce37d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a991473651803a71b5423a97fdc7ce37d">&#9670;&nbsp;</a></span>HoleDetection</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool HoleDetection</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Will detect texture 'holes' if set to true. Slows down the detection. Default is false. </p>

</div>
</div>
<a id="a9592eb441fb2a34e9590b8b4371c927a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9592eb441fb2a34e9590b8b4371c927a">&#9670;&nbsp;</a></span>HullTolerance</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float HullTolerance</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default is 1.5f. </p>

</div>
</div>
<a id="a71265f239a35282917bf0bc66c9dd6ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71265f239a35282917bf0bc66c9dd6ea">&#9670;&nbsp;</a></span>MultipartDetection</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool MultipartDetection</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Will detect texture multiple 'solid' isles if set to true. Slows down the detection. Default is false. </p>

</div>
</div>
<a id="afc09a6bcfbe406c54773173b113e0635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc09a6bcfbe406c54773173b113e0635">&#9670;&nbsp;</a></span>PixelOffsetOptimization</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool PixelOffsetOptimization</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Will optimize the vertex positions along the interpolated normal between two edges about a half pixel (post processing). Default is false. </p>

</div>
</div>
<a id="a102ba4699aa82bcba7d9b81bd00e6576"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a102ba4699aa82bcba7d9b81bd00e6576">&#9670;&nbsp;</a></span>PolygonDetectionType</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools.html#a02718b40fa95f524ad54c378c618e373">VerticesDetectionType</a> PolygonDetectionType</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get or set the polygon detection type. </p>

</div>
</div>
<a id="aedc13f9e97af4c9522b523a104293139"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedc13f9e97af4c9522b523a104293139">&#9670;&nbsp;</a></span>Transform</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Matrix <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Can be used for scaling. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Physics2D/Common/TextureTools/TextureConverter.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenkast.html">nkast</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether.html">Aether</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d.html">Physics2D</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common.html">Common</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools.html">TextureTools</a></li><li class="navelem"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_texture_tools_1_1_texture_converter.html">TextureConverter</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
